﻿using JshRCSWebApi.Infrastructure;
using JshRCSWebApi.Infrastructure.Domain.DTO.SysService;
using JshRCSWebApi.SqlSugarDB.Model.jshrcs_initial;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JshRCSWebApi.Service.SysService
{
    public interface RoleService
    {
        public Task<ApiResult> AddRole(RoleAddDTO roleDTO,int UID);
        public Task<ApiResult> DeleteRole(int iD);
        public Task<dynamic> GetRoleList(RoleSearchDTO searchDTO);
        public Task<ApiResult> GetRoleNameAndIDList(int ID);
        public Task<ApiResult> UpdateRole(RoleUpdateDTO roleDTO,int UID);
        public Task<ApiResult> UpdateUserJurisdiction(RoleUpdateJurisdiction updateDto, int v);
    }
}
